export enum FORMATTER_MESSAGE_TYPE {
  PING = 'PING',
  TERMINAL_INIT = 'TERMINAL_INIT',
  TERMINAL_DATA = 'TERMINAL_DATA',
  TERMINAL_SHARE = 'TERMINAL_SHARE',
  TERMINAL_RESIZE = 'TERMINAL_RESIZE',
  TERMINAL_K8S_DATA = 'TERMINAL_K8S_DATA',
  TERMINAL_K8S_RESIZE = 'TERMINAL_K8S_RESIZE',
  TERMINAL_SHARE_USER_REMOVE = 'TERMINAL_SHARE_USER_REMOVE',
  TERMINAL_GET_SHARE_USER = 'TERMINAL_GET_SHARE_USER',
}

export enum ZMODEM_ACTION_TYPE {
  ZMODEM_START = 'ZMODEM_START',
  ZMODEM_END = 'ZMODEM_END',
}

export enum MESSAGE_TYPE {
  PING = 'PING',
  CLOSE = 'CLOSE',
  ERROR = 'ERROR',
  CONNECT = 'CONNECT',
  TERMINAL_SHARE = 'TERMINAL_SHARE',
  TERMINAL_ERROR = 'TERMINAL_ERROR',
  MESSAGE_NOTIFY = 'MESSAGE_NOTIFY',
  TERMINAL_ACTION = 'TERMINAL_ACTION',
  TERMINAL_SESSION = 'TERMINAL_SESSION',
  TERMINAL_PERM_VALID = 'TERMINAL_PERM_VALID',
  TERMINAL_SHARE_JOIN = 'TERMINAL_SHARE_JOIN',
  TERMINAL_SHARE_LEAVE = 'TERMINAL_SHARE_LEAVE',
  TERMINAL_PERM_EXPIRED = 'TERMINAL_PERM_EXPIRED',
  TERMINAL_SESSION_PAUSE = 'TERMINAL_SESSION_PAUSE',
  TERMINAL_SESSION_RESUME = 'TERMINAL_SESSION_RESUME',
  TERMINAL_GET_SHARE_USER = 'TERMINAL_GET_SHARE_USER',
  TERMINAL_SHARE_USER_REMOVE = 'TERMINAL_SHARE_USER_REMOVE',
}

export enum LUNA_MESSAGE_TYPE {
  PING = 'PING',
  PONG = 'PONG',
  CMD = 'CMD',
  FOCUS = 'FOCUS',
  OPEN = 'OPEN',
  FILE = 'FILE',
  CREATE_FILE_CONNECT_TOKEN = 'CREATE_FILE_CONNECT_TOKEN',
  GET_FILE_CONNECT_TOKEN = 'GET_FILE_CONNECT_TOKEN',

  SESSION_INFO = 'SESSION_INFO',

  SHARE_USER = 'SHARE_USER',
  SHARE_USER_REMOVE = 'SHARE_USER_REMOVE',
  SHARE_USER_ADD = 'SHARE_USER_ADD',
  SHARE_USER_LEAVE = 'SHARE_USER_LEAVE',

  TERMINAL_THEME_CHANGE = 'TERMINAL_THEME_CHANGE',

  SHARE_CODE_REQUEST = 'SHARE_CODE_REQUEST',
  SHARE_CODE_RESPONSE = 'SHARE_CODE_RESPONSE',

  CLOSE = 'CLOSE',
  CONNECT = 'CONNECT',
  TERMINAL_ERROR = 'TERMINAL_ERROR',
  MESSAGE_NOTIFY = 'MESSAGE_NOTIFY',
  KEYEVENT = 'KEYEVENT',

  TERMINAL_CONTENT = 'TERMINAL_CONTENT_REQUEST',
  TERMINAL_CONTENT_RESPONSE = 'TERMINAL_CONTENT_RESPONSE',
  CLICK = 'CLICK',
  CHANGE_MAIN_THEME = 'CHANGE_MAIN_THEME',
  FILE_MANAGE_EXPIRED = 'FILE_MANAGE_EXPIRED',
  OPEN_K8S_SETTING = 'OPEN_K8S_SETTING',
}

export enum SFTP_CMD {
  RM = 'rm',
  LIST = 'list',
  MKDIR = 'mkdir',
  MKFILE = 'mkfile',
  RENAME = 'rename',
  UPLOAD = 'upload',
  DOWNLOAD = 'download',
}

export enum FILE_MANAGE_MESSAGE_TYPE {
  CONNECT = 'CONNECT',
  CLOSE = 'CLOSE',
  ERROR = 'ERROR',
  PING = 'PING',
  PONG = 'PONG',
  CLOSED = 'closed',
  SFTP_DATA = 'SFTP_DATA',
  SFTP_BINARY = 'SFTP_BINARY',
}
